<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include  file="/jsps/common/taglibs.jsp" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
	<script type="text/javascript">
	    function goback(){
	        history.go(-1);
	    }
	</script>
	
  </head>
  
  <body>
      <div class="title">
          <h3>更新会员信息</h3>
          <hr/>
      </div>
     <div class="wrapper">
          <form class="content_form" action="<c:url value="userMgr"/>" method="post">
              <input type="hidden" name="act" value="update"/>
              <div class="wrapper_div">
                  <span>用户名:</span>
                  <input type="text" name="user_name" value="${user.userName}" readonly="readonly"/>
              </div>
              <div class="wrapper_div">
                  <span>密码:</span>
                  <input type="password" name="user_pwd" value="${user.userPwd}"/>
              </div>
              <div class="wrapper_div">
                  <span>真实姓名:</span>
                  <input type="text" name="user_rel_name" value="${user.realName}"/>
              </div>
          <!--     <div class="wrapper_div">
                  <span>出生日期:</span>
                  <input type="text" name="user_birthday"/>
              </div>
           -->
              <div class="wrapper_div">
                  <span>性别:</span>
                  <select name="user_sex">
                      <option value="0" <c:if test="${user.sex==0}">selected="selected"</c:if>>男</option>
                      <option value="1" <c:if test="${user.sex==1}">selected="selected"</c:if>>女</option>
                  </select>
              </div>
              <div class="wrapper_div">
                  <span>电子邮箱:</span>
                  <input type="text" name="user_email" value="${user.email}"/>
              </div>
              <div class="wrapper_div">
                  <span>电话号码:</span>
                  <input type="text" name="user_phone_code" value="${user.phoneCode}"/>
              </div>
              <div class="wrapper_div">
                  <span>居住地址:</span>
                  <input type="text" name="user_addr" value="${user.address}"/>
              </div>
              <div class="wrapper_div">
                  <span>邮编:</span>
                  <input type="text" name="user_zipcode" value="${user.zipCode}"/>
              </div>
              <div class="wrapper_div">
                  <button onclick="goback();">返 回</button>
                  <input type="submit" value="提交"/> 
                  <input type="reset" value="重置"/>
              </div>
          </form>
      </div>
  </body>
</html>
